package edu.neusoft.yiqibike.common.entity.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * User：lyc
 * Date：2017-12-30
 * Time：11:21
 * Description：权限树状结构 TODO 更换结构 将其改为abstract document设计模式
 */
@Data
@NoArgsConstructor
public class TreeVo {
    private Long id;
    private String label;
    private String type;
    private List<TreeVo> children;

    public TreeVo(Long id, String label, String type) {
        this.id = id;
        this.label = label;
        this.type = type;
    }
}
